4D Chart v13

CT PICTURE TO AREA

Home

 
4D Chart v13
CT PICTURE TO AREA

CT PICTURE TO AREA 


 

CT PICTURE TO AREA ( area ; picture ) 
Parameter Type   Description
area  Longint in 4D Chart area
picture  Picture in Picture

The CT PICTURE TO AREA command places into area the document contained in picture.

picture must be a valid 4D picture expression. The contents of area are replaced with picture. If picture is empty, the command is ignored.

Example  

This object method allows the user to copy a graph from a Picture field to a 4D Chart area.

 $Name:=Request("Enter the name of the chart to load.")
 If(OK=1)
    QUERY([Charts];[Charts]Label:=$Name)
    If(Records in selection([Charts])>0)
       CT PICTURE TO AREA(Area;[Charts]MyChart)
    End if
 End if

 
PROPERTIES 

Product: 4D Chart
Theme: CT Area
Number: 14506

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT Area to picture